home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18074 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: coho.halcyon.com!ast
  2. From: ast@coho.halcyon.com (Andrew Tucker)
  3. Newsgroups: comp.os.ms-windows.programmer.tools.misc,comp.os.ms-windows.programmer.win32,comp.os.ms-windows.programmer.misc,comp.lang.c++
  4. Subject: Re: [Q] Why doesn't this compile?
  5. Followup-To: comp.os.ms-windows.programmer.tools.misc,comp.os.ms-windows.programmer.win32,comp.os.ms-windows.programmer.misc,comp.lang.c++
  6. Date: 18 Apr 1996 18:22:31 GMT
  7. Organization: Northwest Nexus, Inc. - Professional Internet Services
  8. Message-ID: <4l6197$mo6@news1.halcyon.com>
  9. References: <317523C0.5042@eps.agfa.be> <4l3hlj$6qt@mozo.cc.purdue.edu>
  10. NNTP-Posting-Host: coho.halcyon.com
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Chris Hill (hillca@cs.purdue.edu) wrote:
  14. : In article <317523C0.5042@eps.agfa.be>, rorlic@eps.agfa.be says...
  15. : A::L::f requires that f is a static function.  Which A object do you expect t: he compiler to call f for?
  16.  
  17. The current one that B is derived from.  He is just calling a base class 
  18. function from B::L's overloaded f. 
  19.  
  20. The syntax/logic is correct, the compiler is broken.
  21.  
  22. --
  23. --
  24. /*  Andrew  */         
  25. Email: ast@halcyon.com 
  26.  
  27.  
  28.  
  29.